package request

type AddText struct {
	Title     string `form:"title" json:"title" binding:"required"`
	Content   string `form:"content" json:"content"`
	LikeCount int    `form:"like_count" json:"like_count"`
	LookLog   int    `form:"look_log" json:"look_log"`
	ReviewNum int    `form:"review_num" json:"review_num"`
}

type ListText struct {
	Id        int    `form:"id" json:"id"`
	Title     string `form:"title" json:"title"`
	Content   string `form:"content" json:"content"`
	LikeCount int    `form:"like_count" json:"like_count"`
	LookLog   int    `form:"look_log" json:"look_log"`
	ReviewNum int    `form:"review_num" json:"review_num"`
}
type AddReview struct {
	Id        int    `form:"id" json:"id"`
	TextId    int    `form:"text_id" json:"text_id"`
	FatherId  int    `form:"father_id" json:"father_id"`
	Context   string `form:"context" json:"context"`
	LikeCount int    `form:"like_count" json:"like_count"`
}
type ListReview struct {
	Id        int    `form:"id" json:"id"`
	TextId    int    `form:"text_id" json:"text_id"`
	FatherId  int    `form:"father_id" json:"father_id"`
	Context   string `form:"context" json:"context"`
	LikeCount int    `form:"like_count" json:"like_count"`
}
